#include"SimHash.h"
SimHash* SimHash::_pSimHash=nullptr;
SimHash::SimHash()
:_simhasher(DICT_PATH,HMM_PATH,IDF_PATH,STOP_WORD_PATH)
{
    
}
SimHash* SimHash::getInstance(){
    if(_pSimHash==nullptr){
       _pSimHash=new SimHash();         
    }
    return _pSimHash;
}
Simhasher& SimHash::getSimhasher(){
    return _simhasher;
}